﻿#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
main()
{
	struct list
	{
		char name[9];
		float number;
	};
	struct list a[5] = { "john",1023092,"sally",1366576 };
	int i;
	char n[9];
	scanf("%s", n);
	for (i = 0; i <= 4; i++)
	{
		if (strcmp(a[i].name, n) == 0)
		{
			printf("电话为%f", a[i].number);
			goto loop;
		}
	}
loop:
	if (i == 5)
	{
		printf("查无此人！");
	}
}